package org.aptu.sd.operationprovider;

import org.aptu.sd.model.Amount;
import org.aptu.sd.model.Currency;

/**
 * Created by IntelliJ IDEA.
 * User: andrey
 * Date: 12/7/11, 10:11 AM
 */
public interface IDebitProvider {
    String debitCard(String cardNumber, Amount amount, Currency currency) throws OperationFailedException;
    void rollback(String ref);
}
